package com.yh.service.impl;

import com.yh.mapper.TravllerMapper;
import com.yh.pojo.Traveller;
import com.yh.service.TravellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author by 张晨光
 * @date 2023/11/4 9:13
 */
@Service
public class TravellerServiceImpl implements TravellerService {
    @Autowired
    TravllerMapper travllerMapper;
    @Override
    public List<Traveller> findAll() {
        return travllerMapper.findAll();
    }
}
